<!-- 管理员主页界面 -->
<script setup>
import AdminLeft from './components/AdminLeft.vue'
</script>

<template>
  <div class="common-layout">
    <el-container style="height: 100vh">
      <el-main class="borderMain">
        <AdminLeft />
        <RouterView style="flex: 1; overflow-y: auto; padding: 20px" />
      </el-main>
    </el-container>
  </div>
</template>

<style scoped>
.borderMain {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.common-layout {
  height: 100vh;
}
</style>
